package com.tlxch.mapper;

import com.github.pagehelper.Page;
import com.tlxch.dto.TAlertdto;
import com.tlxch.pojo.TAlert;
import com.tlxch.vo.TAlertGradevo;
import com.tlxch.vo.TAlertvo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TAlertMapper {
    int deleteByPrimaryKey(Integer taId);

    int insert(TAlert record);

    int insertSelective(TAlert record);

    TAlert selectByPrimaryKey(Integer taId);

    int updateByPrimaryKeySelective(TAlert record);

    int updateByPrimaryKeyWithBLOBs(TAlert record);

    int updateByPrimaryKey(TAlert record);

    List<TAlert> getAlertList();

    Page<TAlertvo> pageQuery(TAlertdto tAlertdto);

    void updateKey(TAlert tAlert);

    Page<TAlertGradevo> getStuGradeList(TAlertdto tAlertdto);

    void insertgrade(TAlert tAlert);
}